#include "global.h"
#include <QRandomGenerator>
QString gate_url_prefix = "";
std::function<void(QWidget *)> repolish = [](QWidget *w) {
    w->style()->unpolish(w);
    w->style()->polish(w);
};

const QString &GetRandomIcon()
{
    int randomValue = QRandomGenerator::global()->bounded(0, default_icons.size() - 1);
    return default_icons[randomValue];
}
